-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Added compiler.warning_flags to platform.txt; fixing #6118 #6596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Why does this PR modify "cores/esp32/esp32-hal-i2c-slave.c" and "libraries/WiFiClientSecure/src/esp_crt_bundle.c"? |
With the new compiler settings, the previously hidden warnings are now treated as errors and the CI is failing. Following commits are simply satisfying the compiler/CI. The changes are mostly removing unused variables and such. |
Makes sense. I glanced over the code and don't see any obvious issues. |
This reverts commit ec3f189.
any updates on this @PilnyTomas? |
Thanks @PilnyTomas for your hard work :) |
Summary
Added
compiler.warning_flags
to all chips inplatform.txt
to reflect users setting of warning level output during compilation (set up in Arduino IDE preferences)Impact
When a warning is set to none the compilation will no longer display warnings
Related links
Solves issue #6118